Release 10.1A: OpenEdge Development:
Progress 4GL Reference


GET-BINARY-DATA( ) method

Returns a MEMPTR containing the binary data in the file specified in the form field. Progress sets the size of the MEMPTR to match the size of the file. This method is called by the get-binary-data WebSpeed API function. Intended for internal use only.

Return type: MEMPTR

Applies to: WEB-CONTEXT system handle

Syntax
GET-BINARY-DATA (INPUT field-name) 

field-name

The name of the form field containing the name of the file posted in the web request received by the WebSpeed Agent.

If the specified field is not part of the form, or the field is not of type ‘file’, Progress returns the Unknown value (?) and displays an error message. You can suppress this message by using NO-ERROR on the statement containing the method.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095